package com.domain;

import java.io.Serializable;

/**
 * @Auther: ChenJinEn
 * @Date: 2020/4/21 13:57
 * @Description: //TODO
 */
//@Alias("aa")
public class Account implements Serializable {
    public Account(String name, Float money) {
        this.name = name;
        this.money = money;
    }

    /**
     * 主键
     */
    private Integer id;

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                '}';
    }

    public Account(){

    }
    public Account(int id, String name, float money) {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    private String name;

    private Float money;

    private static final long serialVersionUID = 1L;


}